<?php

class Damages_Methods_Data_Dictionary_DamageType {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $name;

  /**
   *
   * @var string 
   */
  public $nameEn;

  /**
   *
   * @var string 
   */
  public $code;

  /**
   *
   * @var string 
   */
  public $created;

  /**
   *
   * @var string 
   */
  public $modified;

  public function __construct(DamagesDictDamageTypes $obj) {
    $this->id = $obj->getId();
    $this->name = $obj->getName();
    $this->nameEn = $obj->getNameEn();
    $this->code = $obj->getCode();
    $this->created = $obj->getCreated();
    $this->modified = $obj->getModified();
  }

}